export default [
  {
    path: '/login',
    component: '@/pages/login',
    title: '登录',
    exact: true,
  },
  {
    path: '/',
    component: '@/layouts/index',
    routes: [
      {
        path: '/',
        redirect: '/workplace',
      },
      {
        path: '/panel',
        component: '@/pages/panel/index',
        title: '看板',
        exact: true,
        menuShow: true,
      },
      {
        path: '/workplace',
        component: '@/pages/workplace/index',
        title: '工作台',
        exact: true,
        menuShow: true, // 展示在菜单上
      },
      {
        path: '/index',
        component: '@/pages/index/index',
        title: 'OKR',
        exact: true,
        menuShow: true, // 展示在菜单上
      },
      {
        path: '/project',
        component: '@/pages/project',
        title: '项目管理',
        exact: true,
        menuShow: true, // 展示在菜单上
      },
      {
        path: '/relate',
        component: '@/pages/relatepage',
        title: '关联',
        exact: true,
        menuShow: true, // 展示在菜单上
      },
      {
        path: '/todo',
        component: '@/pages/todo',
        title: '待办',
        exact: true,
        menuShow: true, // 展示在菜单上
      },
      {
        path: '/message',
        component: '@/pages/message',
        title: '消息中心',
        exact: true,
        menuShow: true, // 展示在菜单上
      },
      {
        path: '/setting',
        component: '@/pages/setting',
        title: '设置',
        exact: true,
        menuShow: true, // 展示在菜单上
      },
      {
        path: '/lazy',
        component: '@/pages/lazy_img',
        title: 'Img Collection',
        exact: true,
        // menuShow: true,
      },
      {
        path: '/newokr',
        component: '@/pages/newokr',
        title: 'OKR详情',
      },
      {
        path: '/newproject',
        component: '@/pages/newproject',
        title: '项目详情',
      },
    ],
  },
];
